/***
 * formSize(String):表单大小 small mini large
 * type(String):表单类型 text | select | date | checkbox | radio
 * inputType(String):input类型
 * label(String):字段名称
 * labelWidth(String):字段宽度 150px
 * placeholder(String):默认显示
 * isReadOnly(Bollean):是否只读
 * isDisabled(Bollean):是否禁止
 * isRequired(Bollean):是否必填
 * optionList(Array):如果是下拉，复选，单选的数据源
 * keyName(String):有数据源的情况下，绑定的key字段名
 * valName(String):有数据源的情况下，绑定的label字段名
 * maxlength(Number):最大输入长度
 * colSpan(Number):占位符
 * isAppendRightBtn(Boolean):是否显示input右侧的按钮类型
 * appendRightBtnType(String):input右侧的按钮类型
 * appendRightBtnTxt(String):input右侧的按钮文字
 * bindFieldName(String):绑定后段字段名称
 * bindFieldVal(String):双向绑定绑定的具体值，一般用于readonly或者disabled的情况下直接赋值
 * buttonTxt(String):type为button时的按钮内容文字
 * influenceFiledName(String):二级联动所关联的select的后段字段->bindFieldName
 */

//废止合同
const leaseFiledList = [{
    type: 'select',
    label: '发起方',
    colSpan: 12,
    isRequired: true,
    optionList: [],
    keyName: 'primaryKey',
    valName: 'partnerName',
    bindFieldName: 'initiator',
    labelWidth: "165px",
    bindFieldVal: ""
  }, {
    type: 'date',
    label: '退场时间',
    colSpan: 12,
    isRequired: true,
    bindFieldName: 'terminationDate',
    labelWidth: "165px",
    bindFieldVal: ""
  },
  {
    type: 'text',
    label: '退场原因',
    colSpan: 12,
    isRequired: true,
    bindFieldName: 'terminationReason',
    bindFieldVal: ""
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还押金',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnDeposit',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还广告费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnVenueAdFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还场地租赁费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnVenueRentalFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还水费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnWaterFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还电费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnElectricityFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还燃气费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnGasFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '退还车位费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'returnParkingFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取租金',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeRentFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取管理费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeManagementFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取滞纳金',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeLateFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取赔偿',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeCompensate',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取水费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeWaterFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取电费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeElectricityFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取燃气费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeGasFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取共享空间费用',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeSharedSpaceFee',
  },
  {
    type: 'text',
    inputType: "number",
    label: '收取车位费',
    isRequired: true,
    colSpan: 12,
    bindFieldVal: "",
    bindFieldName: 'chargeParkingFee',
  },
  {
    type: 'text',
    label: '说明',
    colSpan: 24,
    isRequired: false,
    bindFieldName: 'terminationDesc',
    bindFieldVal: ""
  },
]

//支出类
let disburseFiledList = [{
    type: 'date',
    label: '解约时间',
    colSpan: 12,
    isRequired: true,
    bindFieldName: 'terminationDate',
    labelWidth: "165px",
    bindFieldVal: ""
  },
  {
    type: 'text',
    label: '解约原因',
    colSpan: 12,
    isRequired: true,
    bindFieldName: 'terminationReason',
    bindFieldVal: ""
  },
  {
    type: 'text',
    label: '说明',
    colSpan: 24,
    isRequired: false,
    bindFieldName: 'terminationDesc',
    bindFieldVal: ""
  },
]

let verifyList = [{
    type: 'text',
    label: '说明',
    colSpan: 24,
    isRequired: true,
    bindFieldName: 'description',
    labelWidth: "90px",
    bindFieldVal: ""
}]

export {
  leaseFiledList,
  disburseFiledList,
  verifyList
}
